<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>GetCurrentDirectory</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">GetCurrentDirectory()</font></b></p>
<p><b>语法</b></p><blockquote>

Result$ = <font color="#3A3966"><b>GetCurrentDirectory</b></font>()</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Returns the current directory for the program. 

 

</blockquote><p><b>参数</b></p><blockquote>
无.


</blockquote><p><b>返回值</b></p><blockquote>



Returns the full path of the current directory. It will end with a directory separator ('\' on Windows and '/' otherwise). 
<br>
<br>
It's very unlikely, but if this function fails, it will return an empty string. 

 

</blockquote><p><b>备注</b></p><blockquote>



All files accesses are relative to this directory, when 
no absolute path is specified. To change the current directory, use <a href="setcurrentdirectory.html">SetCurrentDirectory()</a>. 

 

</blockquote><p><b>参阅</b></p><blockquote>

<a href="setcurrentdirectory.html">SetCurrentDirectory()</a>, 
<a href="gethomedirectory.html">GetHomeDirectory()</a>, 
<a href="gettemporarydirectory.html">GetTemporaryDirectory()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=finishdirectory.html>FinishDirectory()</a> - <a href="index.html">FileSystem Index</a> - <a href="getextensionpart.html">GetExtensionPart()</a> -&gt;<br><br>

</body></html>